package ui.role
{
	import flash.display.DisplayObject;
	import flash.events.IEventDispatcher;
	
	public interface IMovieClipRole extends IEventDispatcher
	{
		function gotoAndPlay(frameLabel:Object,scene:String=null):void;
		function gotoAndStop(frameLabel:Object,scene:String=null):void;
		function play():void;
		function stop():void;
		function nextFrame():void;
		function prevFrame():void;
		
		function get currentFrame():int;
		function set currentFrame(value:int):void;
		
		function get currentFrameLabel():String;
		function set currentFrameLabel(value:String):void;
		
		function get totalFrames():int;
		function set totalFrames(value:int):void;
		
		//独有
		function get self():DisplayObject;
		function addFrame(frame:IFrame):void;
		function removeFrame(frame:IFrame):void;
		function step():void;
	}
}